﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Foundation.ObjectHydrator.Interfaces;

namespace Foundation.ObjectHydrator.Generators
{
    public class DefaultGenerator:IGenerator
    {
        public Object DefaultValue {get;private set;}

        public DefaultGenerator(Object defaultValue)
        {
            DefaultValue = defaultValue;
        }

        public object Generate()
        {
            return DefaultValue;
        }

    }
}
